﻿

namespace MyMenu.action
{
    public class ActivateWindowCommand : AbstractAction
    {
        public string id
        {
            get;
            set;
        }

        public ActivateWindowCommand(string id)
        {
            this.id = id;
        }

        public override void execute() 
        {
            GuiFactory.ActivateWindow(int.Parse(id));
        }

    }
}
